projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b485cf9
)
run-docker.sh: Disable SELinux for the container
author
Christoph Reiter
<creiter@src.gnome.org>
Tue, 13 Mar 2018 20:19:30 +0000
(21:19 +0100)
committer
Christoph Reiter
<creiter@src.gnome.org>
Tue, 13 Mar 2018 20:19:30 +0000
(21:19 +0100)
On Fedora and similar SELinux by default prevents containers accessing
mounted host directories. This script is just used for testing,
so disable it.
.gitlab-ci/run-docker.sh
patch
|
blob
|
history
diff --git
a/.gitlab-ci/run-docker.sh
b/.gitlab-ci/run-docker.sh
index 699d2093da54598d442a779daba5f59a7230b700..4b2fc0ae75a954719791c8b7d151892986af0d32 100755
(executable)
--- a/
.gitlab-ci/run-docker.sh
+++ b/
.gitlab-ci/run-docker.sh
@@
-14,6
+14,6
@@
TAG="lazka/gitlab-gtk-3-22:v1"
# created in the mounted volume have the same owner
sudo docker build \
--build-arg HOST_USER_ID="$UID" --tag "${TAG}" --file "Dockerfile" .
-sudo docker run \
+sudo docker run
--security-opt label=disable
\
--rm --volume "$(pwd)/..:/home/user/app" --workdir "/home/user/app" \
--tty --interactive "${TAG}" bash